﻿<%@ Page Title="" Language="C#" MasterPageFile="~/RS.Master" AutoEventWireup="true"
    CodeBehind="ChangePassword.aspx.cs" Inherits="RealState.W.ChangePassword" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <section class="feature-widget shadow-box clearfix">
						<div class="inner-box">
							<header class="entry-header">
								<h4 class="feature-title">Thay đổi mật khẩu</h4>
							</header>
							<div class="wpcf7-form" >
								<p class="input-email clearfix">
								<table style="width:100%;margin-left:70px;border-collapse:separate;border-spacing:5px 5px;"><tr><td>Mật khẩu hiện tại</td><td>
								<asp:UpdatePanel ID="UpdatePanel1" runat="server"><ContentTemplate>
                                 <asp:TextBox ID="txtOldPassword" runat="server" TextMode="Password"></asp:TextBox>
                                 <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" SetFocusOnError="true" 
                                                    ErrorMessage="(*)Mật khẩu không được để trống" ControlToValidate="txtOldPassword"></asp:RequiredFieldValidator>
                                  </ContentTemplate></asp:UpdatePanel></td></tr>
								<tr><td>Mật khẩu mới</td><td> <asp:UpdatePanel ID="UpdatePanel5" runat="server"><ContentTemplate>
                                 <asp:TextBox ID="txtPassword" runat="server" TextMode="Password"></asp:TextBox>
                                 <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" SetFocusOnError="true" 
                                                    ErrorMessage="(*)Mật khẩu không được để trống" ControlToValidate="txtPassword"></asp:RequiredFieldValidator>
                                  </ContentTemplate></asp:UpdatePanel></td></tr>
								<tr><td>Xác nhận mật khẩu</td><td>
								<asp:UpdatePanel ID="UpdatePanel6" runat="server"><ContentTemplate>
                                     <asp:TextBox ID="txtRepassword" runat="server" TextMode="Password"></asp:TextBox>
                                     <asp:CompareValidator runat="server" ID="Comp1" ControlToValidate="txtPassword" ControlToCompare="txtRepassword" Text="(*) Mật khẩu không trùng khớp" />
                                 </ContentTemplate></asp:UpdatePanel></td></tr>
								<tr><td colspan="2" align="center"><asp:Button ID="Button1" CssClass="small-button-a" 
                                        runat="server" Text=" Hoàn thành" onclick="Button1_Click"></asp:Button></td></tr>
								</table>
								</p>
							    
							</div>
						</div><!--inner-box-->
					</section>
</asp:Content>
